﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using RuleCode.Table;

namespace map.manage
{
    public partial class configshop_sitecata : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {


            AjaxPro.Utility.RegisterTypeForAjax(typeof(AjaxFunction));
            string id = AliApi.appUserId;
            if (Request.Params["id"] != null)
            {
                cbuser u = cbuser.Find(" recid =  " + Request.Params["id"].ToString());
                if (u.Count > 0)
                {
                    id = u.cbuserid.ToString();
                }
            }
            if (id == "")
            {
                //return ""; //为了方便测试,暂时注销
            }
            cbshopcss sc = cbshopcss.findorcreate(id);
            string css = sc.getstylestring();
            Literalcss.Text = css;

            cbshoppageelement spe = cbshoppageelement.findorcreatesystem(id,
            "网站导航栏");
            Literal1.Text = spe.gethtml1(0,1);
        }
    }
}
